import { default as request, cloud } from "@/framework/utils/request";
//获取数据
export function getCategoryShop(query) {
  return request({
    url: `${cloud.mall}/tMgdCategory/list`,
    method: "get",
    params: query,
  });
}
//新增数据
export function addCategoryShop(data) {
  return request({
    url: `${cloud.mall}/tMgdCategory/insert`,
    method: "post",
    data,
  });
}
// 修改数据
export function putCategoryShop(data) {
  return request({
    url: `${cloud.mall}/tMgdCategory/update`,
    method: "post",
    data,
  });
}
